package com.tdr.myandroid.db;

import com.tdr.myandroid.model.ActionObject;
import com.tdr.myandroid.model.EventObject;

import java.util.ArrayList;

/**
 * Created by Administrator on 2014/7/16.
 */
public class DataInterface {
    private ArrayList<EventObject> eventsArray;

    public DataInterface() {
        eventsArray = new ArrayList<EventObject>();
    }

    public ArrayList<EventObject> getEventsArray() {
        return eventsArray;
    }

    public void addEvent(EventObject newEvent) {
        if (newEvent != null) {
            this.eventsArray.add(newEvent);
        }
    }

    public void initEvents() {

    }
}
